package principle.Builder;

/**
 * @author malguy-wang sir
 * @create ---
 */
public abstract class AbstractHouse {
    //打地基
    public abstract void buildBasic();
    //砌墙
    public abstract void buildWalls();
    //屋顶
    public abstract void roofed();
    //建造
    public void Build(){
        buildBasic();
        buildWalls();
        roofed();
    }
}
